home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / system / mail / transpor / ifmail23.z / ifmail23 / ifmail / misc / config < prev    next >
Encoding:
Text File  |  1994-03-23  |  8.4 KB  |  228 lines

  1. # Configuration file for ifmail (ifgate+ifcico) package by Eugene Crosser
  2. # Compile-time default name of this file may be overridden by -I key.
  3.  
  4. # Lines with the first nonblank character '#' are comments.
  5.  
  6. # Log file name. Overrides compile-time default.
  7. logfile        /u/ifmail/iflog
  8.  
  9. # Debug file name. Overrides compile-time default.
  10. debugfile    /u/ifmail/ifdebug
  11.  
  12. # Debugging verbosity level (is overidden by -x key). Default is 0.
  13. verbose        8
  14.  
  15. # Main address:
  16. address        2:5020/230@fidonet
  17.  
  18. # AKAs:
  19. address        2:5020/6.14@fidonet
  20. address        2:5020/23.14@fidonet
  21. address        2:5020/49.14@fidonet
  22. address        178:5020/140@dummynet
  23.  
  24. # Passwords for nodes. Not checked by iftoss (unless -DPARANOID specified
  25. # at compile-time), checked by ifcico.
  26. # Inserted into outgoing mail packets, EMSI and yoohoo packets.
  27. password    2:5929/6    QWERY
  28. password    2:5929/23    ASDFG
  29.  
  30. # Include config extention file (here: file with real passwords).
  31. # Includes may be nested. If the nesting is cyclic, the program cycles too.
  32. # You are warned.
  33. include        /usr/local/lib/fnet/passwds
  34.  
  35. # System alias file - try to fetch ftn-style aliases from there.
  36. # If "from" address of a message from FidoNet matches _right_ side
  37. # of some entry in sysalias file, then the Reply-To: header is created
  38. # in the RFC message with the name part taken from the left side of the
  39. # sysalis entry and domain part taken from myfqdn (below). E.g., if a 
  40. # fidonet message comes from "John Smith of 1:234/567.89@fidonet" and 
  41. # there is an entry in the sysalias file:
  42. # "jsmith:    John.Smith@p89.f567.n234.z1.fidonet.org"
  43. # and fqdn value is "pccross.msk.su", then the resulting message will
  44. # contain a line: "Reply-To: jsmith@pccross.msk.su".
  45. sysalias    /usr/lib/smail/aliases
  46.  
  47. # This host fully qualified domain name to add to the alias above
  48. myfqdn        pccross.msk.su
  49.  
  50. # Directory for incoming packets/files:
  51. inbound        /usr/spool/fnet/inb
  52. # Directories for "listed" and "protected" sessions
  53. listinbound    /usr/spool/fnet/inb
  54. protinbound    /usr/spool/fnet/inb
  55.  
  56. # Directory for outgoing packets (default domain and zone):
  57. # other zones will be like "/usr/spool/fnet/outb.003",
  58. # other domains will be like "/usr/spool/fnet/<domain>.<zone>"
  59. outbound    /usr/spool/fnet/outb
  60.  
  61. # Directory from which the file requests are satisfied
  62. public        /usr/spool/uucppublic
  63.  
  64. # Directory with executables to satisfy "magic" file requests
  65. # if requested a file present in this directory, it will be
  66. # executed and stdout sent to the remote system. It is dangerous!
  67. # You are warned.
  68. magic        /usr/local/lib/fnet/magic
  69.  
  70. # Primary nodelist (serves "outbound" directory and domain from the
  71. # first "address" statement). Name expanded with ".NNN" if neccessary.
  72. nodelist    /usr/local/lib/fnet/nldir/nodelist
  73.  
  74. # Secondary nodelists and nodelists for other domains.
  75. # use directory name from the first "nodelist" statement.
  76. #        filename    originating address
  77. nodelist    pnt5020.ndl    2:5020/0@fidonet
  78. nodelist    chatlist    100:0/0@chateaunet
  79. nodelist    private.ndl    2:5020/0@fidonet
  80.  
  81. # domain translations, just context substitution.  Leading dot recommended.
  82. # May contain '@'-sign too.  First matching used.
  83. #        FTN side        Internet side
  84. domtrans    .n5020.z2.fidonet    .fido.pccross.msk.su
  85. domtrans    .n5030.z2.fidonet    .fido.tctube.spb.su
  86. domtrans    .fidonet        .fidonet.org
  87.  
  88. # Automatically updated alias database
  89. database    /usr/local/lib/fnet/ifdbm
  90.  
  91. # Sequencer file (used to generate unique IDs)
  92. sequencer    /usr/local/lib/fnet/seq
  93.  
  94. # Areas file (format: "AREA newsgroup distribution")
  95. areas        /usr/local/lib/fnet/Areas
  96.  
  97. # Bad groups prefixes - do not pass to fido if appear in Newsgroups header
  98. # This is NOT the same as "!news.group" in the cnews "sys" file.
  99. badgroup    relcom.ads.
  100. badgroup    relcom.commerce.
  101.  
  102. # Internet -> FidoNet (outgoing) character mapping table (a la mapchan)
  103. outtab        /usr/local/lib/fnet/outkoi8alt
  104.  
  105. # FidoNet -> Internet (incoming) character mapping table
  106. intab        /usr/local/lib/fnet/outaltkoi8
  107.  
  108. # Transport programs for mail and news, used by iftoss
  109. sendmail    /usr/lib/sendmail
  110. rnews        /bin/rnews
  111.  
  112. # Toss program, used by ifunpack
  113. iftoss        /usr/local/lib/fnet/iftoss
  114.  
  115. # Unpackers, used by ifunpack. 
  116. # $F expands to archieve file name
  117. unzip        /usr/bin/unzip -oq $F
  118. unarj        /usr/bin/unarj e $F
  119. unarc        /usr/bin/unpack $F
  120. unzoo        /usr/bin/zoo -extract $F
  121.  
  122. # Packer program, used by ifpack
  123. # $F expands to archieve file name, $P - to packet name
  124. packer        /usr/bin/zip $F $P
  125.  
  126. # Maximum arcmail file size, will start new arcmail file if exceeds
  127. maxfsize    65000
  128.  
  129. # cnews log file and (temporary) database for seen-bys
  130. newslog        /usr/local/lib/news/log
  131. msgidbm        /tmp/msgidb
  132.  
  133. # From this line on, values may be prefixed by a logical expression in
  134. # round brackets. Operators are: '!', '&', '|', 'Xor'.
  135. # Possible elements are:
  136. # - Nodelist flags (like "CM", "MNP", "V32" etc.)
  137. # - speed <operator> <numeric>
  138. #         where <operator> is '=', '!=', '<', '>', '<=', '>='
  139. # - address <wildcard>
  140. #         where <wildcard> is an (possibly incomplete) fidonet address, 
  141. #         e.g. "5020/*"
  142. # - time <interval>[,<interval>,...]
  143. #         where <interval> is a day spec. with optional time spec., e.g.
  144. #         Wk2000-0900,Sat1800-0000,Sun
  145. # - phone <prefix>
  146. #         e.g. "phone 7-095-"
  147.  
  148. # Dialing parameters
  149. # of multiple "ModemPort", "ModemReset", "ModemDial", "ModemHangup" lines, 
  150. # first matching is used.
  151. # of multiple "PhoneTrans", "ModemConnect", "ModemError" lines, all matching 
  152. # are used.
  153. # In send and expect strings, following substitutions are made:
  154. # \\    '\' character
  155. # \r    carriage return (0x0d)
  156. # \n    new line (0x0a)
  157. # \t    tab (0x09)
  158. # \b    backspace (0x08)
  159. # \s    space (0x20)
  160. # \NNN    (where N is an octal digit) - character with octal code NNN
  161. # \d    1 second delay (send strings only)
  162. # \p    1/4 second pause (send strings only)
  163. # \T    translated telephone no. (send strings only)
  164. # \D    untranslated telephone no. (send strings only)
  165.  
  166. # ModemPort present a blank-separated list of ports with possible speed
  167. # extention (separated by colon); if speed is prefixed with 'L', it is
  168. # a "locked" port speed, otherwise it is a maximum speed to be set, while
  169. # actual speed is taken from the nodelist.  If speed is omitted (or set
  170. # to zero), previous port speed is not changed.
  171. #ModemPort    (time Any0000-0900,Sat,Sun) ttyS0
  172. ModemPort    cua0:L38400
  173.  
  174. # PhoneTrans lines provide rules to change phone prefixes to make local
  175. # or long-distance calls.  In the example below, my country code is 7,
  176. # and local dialing area is 095.  From the numbers starting with "7-095-"
  177. # the prefix is stripped and the 7-digit remainder is dialed.  For
  178. # the numbers starting with "7-" but not with "7-095-", the country prefix
  179. # "7-" is stripped and the long-distance dialing prefix "8W" substituted. 
  180. # For the numbers not matching any of the above, international
  181. # call is performed: international dialing prefix "8W10" is prepended
  182. # to the unmodified 11-digit number.  Generally, the syntax is:
  183. # "PhoneTrans <what-to-strip> / <what-to-substitute-instead>"
  184. PhoneTrans    7-095-    /
  185. PhoneTrans    7-    /    8W
  186. PhoneTrans        /    8W10
  187. ModemReset    ATZ\r
  188. ModemDial    (time Any0800-2200 & address 2:5020/49) AT&M5&N4DP\T\r
  189. ModemDial    (address 2:5020/49) AT&M5&N6DP\T\r
  190. ModemDial    (speed < 4800) AT&N3DP\T\r
  191. ModemDial        ATDP\T\r
  192. ModemHangup    ATZ\r
  193. ModemOK        OK
  194. ModemConnect    CONNECT
  195. ModemError    BUSY
  196. ModemError    NO\sCARRIER
  197. ModemError    NO\sDIAL
  198. ModemError    RING\r
  199. ModemError    ERROR
  200.  
  201. # Call options (time, address and nodelist flag dependant)
  202. # All matching are applied in the order they are specified.
  203. # Possible options are "[No]Call", "[No]Hold", "[No]PUA", "[No]EMSI",
  204. # "[No]WaZOO", "[No]Freqs", "[No]Zmodem", "[No]ZedZap", "[No]Janus",
  205. # "[No]Hydra". Here, WaZOO stands for YooHoo/2U2 handshake, not for
  206. # the transfer scheme. FTS-0001 handshake and DietIFNA scheme cannot
  207. # be disallowed (because they are mandatory by standart).  "Hold" 
  208. # means really hold "hold" type packets and files: do not send them
  209. # if our system initiated the session, "NoHold" means  send "hold"
  210. # packets when our system initiated the session. "NoPUA" stands for
  211. # "No PickUp All", i.e. PUP ("Pick Up Primary").  NoCall means do not
  212. # perform outbound call.  This flag has no effect on the nodes
  213. # explicitly specified in the command line.
  214. # Default options are "everything allowed".
  215. options        ((!CM) & time Any0700-0200) Nocall
  216. #options        (time Any0900-2100 & ! address 2:5020/*) Nocall
  217.  
  218. # EMSI data for this node
  219. # From this line on values CANNOT be prefixed with logical expression
  220. # For now, escaping of '}' and ']' unimplemented, try to avoid these
  221. # characters please!
  222. Name        == Eugene Crosser's ==
  223. Location    Moscow Russia
  224. SysOp        Eugene Crosser
  225. Phone        7-095-212-5274
  226. Speed        9600
  227. Flags        XA,V32B,V42B
  228.